<html>
	<head>
		<title>{{ title }}</title>
		<link rel="stylesheet" media="screen" type="text/css" href="chat-style.css"/>
	</head>
	<body>
		{% block navbar %}
			<h3>Available chat</h3>
			<div id="navbar">
				<ul>
					{% for c in chats %}
						<li>
							<a href="/enterchat?chat={{c}}">{{ c }}</a>
						</li>
					{% endfor %}
				</ul>
			</div>
		{% endblock %}
		<h1>Welcome to Peace's chat room on Google AppEngine</h1>
		<p>Current time is {% now "F j y H:i" %}</p>
		{% block pagecontent %}
		<p>This is a template text, if your seeing this in a page rendered by chat, some thing is wrong</p>
		{% endblock %}
		 
	</body>
</html>